package com.link.base.base.wechat.model;

import com.link.base.base.coupons.model.Coupons;
import com.link.base.wechat.mpnews.model.Article;
import com.link.core.basic.model.BasicModel;

/**
 * 自动回复内容
 *
 * @author 路江
 * @date 2018-05
 */
public class AutoreplyContent extends BasicModel {
    /**
     * 自动回复规则ID
     */
    private Long ruleId;
    /**
     *内容类型
     */
    private String contentType;
    /**
     *回复内容
     */
    private String content;
    /**
     *图片素材
     */
    private WxImage image;
    /**
     *图文素材
     */
    private Article articles;
    /**
     *卡卷素材
     */
    private Coupons coupons;
    /**
     *图文消息/视频消息/音乐消息/小程序卡片的标题
     */
    private String title;
    /**
     *小程序的appid，要求小程序的appid需要与公众号有关联关系
     */
    private String appid;
    /**
     *小程序的页面路径，跟app.json对齐，支持参数，比如pages/index/index?foo=bar
     */
    private String pagepath;
    /**
     *缩略图/小程序卡片图片的媒体ID，小程序卡片图片建议大小为520*416
     */
    private Long thumbMediaId;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPagepath() {
        return pagepath;
    }

    public void setPagepath(String pagepath) {
        this.pagepath = pagepath;
    }

    public WxImage getImage() {
        return image;
    }

    public void setImage(WxImage image) {
        this.image = image;
    }

    public Article getArticles() {
        return articles;
    }

    public void setArticles(Article articles) {
        this.articles = articles;
    }

    public Coupons getCoupons() {
        return coupons;
    }

    public void setCoupons(Coupons coupons) {
        this.coupons = coupons;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }


    public void setThumbMediaId(Long thumbMediaId) {
        this.thumbMediaId = thumbMediaId;
    }


    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public Long getThumbMediaId() {
        return thumbMediaId;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }
}
